/*
 *  Collin's Binary Instrumentation Tool/Framework for Android
 *  Collin Mulliner <collin[at]mulliner.org>
 *  http://www.mulliner.org/android/
 *
 *  (c) 2012,2013
 *
 *  License: LGPL v2.1
 *
 */
#include <android/log.h>

#ifndef ENABLE_DEBUG
#define ENABLE_DEBUG 1
#define  LOG_TAG "HOOK"
#define  LOGD( fmt, args ... ) __android_log_print( ANDROID_LOG_DEBUG, LOG_TAG, fmt, ## args )
#define  LOGE( fmt, args ... ) __android_log_print( ANDROID_LOG_ERROR, LOG_TAG, fmt, ## args )
#define  LOGI( fmt, args ... ) __android_log_print( ANDROID_LOG_INFO, LOG_TAG, fmt, ## args )
#endif


void* set_logfunction(void *func);